<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<%@ include file="/WEB-INF/include/common/common-header.jspf"%>
		<title>${siteName} - 角色列表</title>
		<%@ include file="/WEB-INF/include/admin/common-admin-header.jspf"%>
	</head>
	<body>
		<div class="grid-wrap">
			<form class="layui-form">
			  	<span class="input-label">角色代码：</span>
			  	<div class="layui-inline">
			    	<input class="layui-input" id="roleCode" autocomplete="off">
			  	</div>
			  	<span class="input-label">角色名称：</span>
			  	<div class="layui-inline">
			    	<input class="layui-input" id="roleName" autocomplete="off">
			  	</div>
			  	<button class="layui-btn" data-type="reload" id="btnRefresh">搜索</button>
		  	</form>
			
			<table id="roleList" lay-filter="roleList"></table>
			
			<script type="text/html" id="gridTool">
  				<div class="layui-btn-container">
    				<button class="layui-btn layui-btn-sm" lay-event="add">新增</button>
				</div>
			</script>
			
			<script type="text/html" id="lineTool">
  				<a class="layui-btn layui-btn-xs" lay-event="detail">详情</a>
  				<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  				<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="remove">删除</a>
			</script>
		</div>
	
		<%@ include file="/WEB-INF/include/common/common-footer.jspf"%>
		</script>
		<script src="${ctx}/js/admin/sys/role/list.js?r=<%=Math.random()%>"></script>
	</body>
</html>